package com.qf.test;

import org.junit.Test;

import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Date;

public class A {
    public static void main(String[] args) {
        Calendar c = Calendar.getInstance();
        System.out.println(c.getTime().getTime());
        System.out.println(new Timestamp(new Date().getTime()));

    }
}
